<?php

use Illuminate\Database\Seeder;

class WechatResponseTableSeeder extends Seeder
{

    /**
     * Auto generated seed file
     *
     * @return void
     */
    public function run()
    {
        

        \DB::table('wechat_response')->delete();
        
        \DB::table('wechat_response')->insert(array (
            0 => 
            array (
                'id' => 1,
                'wechat_id' => 1,
                'key' => 'default',
                'group' => 'default',
                'type' => 'text',
                'source' => NULL,
                'content' => '{"text":"谢谢关注"}',
                'created_at' => '2018-06-14 07:24:41',
                'updated_at' => '2018-06-14 07:24:41',
            ),
            1 => 
            array (
                'id' => 2,
                'wechat_id' => 1,
                'key' => '你好',
                'group' => 'keyword',
                'type' => 'text',
                'source' => NULL,
                'content' => '{"text":"大家好"}',
                'created_at' => '2018-06-14 08:28:00',
                'updated_at' => '2018-06-14 08:28:00',
            ),
            2 => 
            array (
                'id' => 3,
                'wechat_id' => 1,
                'key' => 'subscribe',
                'group' => 'subscribe',
                'type' => 'news',
                'source' => NULL,
                'content' => '{"type":"article","category_name":"节日活动","category_id":"1","limit":"8"}',
                'created_at' => '2018-06-14 12:07:26',
                'updated_at' => '2018-06-14 12:29:45',
            ),
        ));
        
        
    }
}